import request from '@/utils/request'
// 查询问诊服务
export function checkByLoginDoctorId(doctorId, state) {
  return request({
    url: '/doctor/privateDoctor/checkByLoginDoctorId',
    method: 'post',
    params: { doctorId, state}
  })
}
// 通过患者问诊id查询详情
export function queryPatientInformationByPatientId(doctorId) {
  return request({
    url: '/doctor/privateDoctor/queryPatientInformationByPatientId/' + doctorId,
    method: 'post'
  })
}
// 通过患者问诊id查询问诊记录
export function queryTheConsultationRecordByThePatientsConsultationId(doctorId) {
  return request({
    url: '/doctor/privateDoctor/queryTheConsultationRecordByThePatientsConsultationId/' + doctorId,
    method: 'post'
  })
}
